package com.example.blog.ws.pojo;

import com.alibaba.fastjson2.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
@Data
public class ChatMessageGroup implements Serializable {
    @TableId(type = IdType.AUTO)
    public Integer id;
    public String fromUserId;


    public String name;
    public String headerUrl;
    public String messageType;

    public String message;

    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    public Date date;

}
